import service from "@/utils/request";

export function getUserListService(params){
    return service({
        url: "/user/list",
        method: "get",
        params,
    });
}

export function updateStatusService(userId, status){
    return service({
        url: "/user/updateStatus",
        method: "put",
        params: {
            userId,
            status
        },
    });
}